<!DOCTYPE html>
<html>
<head>
    <title>约健</title>
    <link href="/assets/css/style.css" rel='stylesheet' type='text/css' />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="App Loction Form,Login Forms,Sign up Forms,Registration Forms,News latter Forms,Elements"./>
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
            </head>
            <body>
            <h1>Yuejian-Admin</h1>
    <div class="app-location">
            <h2>Welcome to Yuejian</h2>
    <div class="line"><span></span></div>
            <div class="location"><img src="/assets/images/location.png" class="img-responsive" alt="" /></div>
            @if($errors->any())

                @foreach($errors->all() as $error)
                    <h2 class="list-group-item list-group-item-danger">{{$error}}</h2>
                @endforeach

            @endif
            @if(Session::has('user_login_failed'))


                <h2>{{Session::get('user_login_failed')}}</h2>


            @endif
            <form method="post" action="\auth\user\login">
                {{ csrf_field() }}
            <input type="text" name = "email" class="text" placeholder="E-mail address"  >
            <input type="password" name="password" placeholder="Password" >
            <div class="submit"><input type="submit" onClick="myFunction()" value="Sign in" ></div>
            <div class="clear"></div>
            <div class="new">
    <div class="clear"></div>
            </div>
            </form>
            </div>
                <!--start-copyright-->
            <!--//end-copyright-->
            </body>
            </html>